<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <form:form modelAttribute="worksheet" action="update" method="post">
        订单信息
        <table>
            <tr>
                <td>外发单号</td>
                <td>
                    <form:hidden path="odd"></form:hidden>
                    ${worksheet.odd}
                </td>
            </tr>
            <tr>
                <td>外发日期</td>
                <td>
                    <form:input path="sdate"></form:input>
                </td>
            </tr>
            <tr>
                <td>工号</td>
                <td>
                    <form:input path="jobnum"></form:input>
                </td>
            </tr>
            <tr>
                <td>姓名</td>
                <td>
                    <form:input path="name"></form:input>
                </td>
            </tr>
            <tr>
                <td>备注</td>
                <td>
                    <form:textarea path="comment"></form:textarea>
                </td>
            </tr>
        </table>
        商品信息
        <table>
            <tr>
                <td>商品编号</td>
                <td>
                    <form:input path="gnum"></form:input>
                </td>
            </tr>
            <tr>
                <td>商品名称</td>
                <td>
                    <form:select path="gname">
                        <form:option value="">===请选择===</form:option>
                        <form:option value="电阻">电阻</form:option>
                        <form:option value="进程控制器">进程控制器</form:option>
                    </form:select>
<%--                    <form:input path="gname"></form:input>--%>
                </td>
            </tr>
            <tr>
                <td>型号</td>
                <td>
                    <form:input path="model"></form:input>
                </td>
            </tr>
            <tr>
                <td>规格</td>
                <td>
                    <form:input path="specification"></form:input>
                </td>
            </tr>
            <tr>
                <td>单价</td>
                <td>
                    <form:input path="price"></form:input>
                </td>
            </tr>
            <tr>
                <td>数量</td>
                <td>
                    <form:input path="num"></form:input>
                </td>
            </tr>
            <tr>
                <td>金额(元)</td>
                <td>
                    <form:input path="money"></form:input>
                </td>
            </tr>
        </table>
        <form:button>提交</form:button>
    </form:form>
</body>
</html>
